package com.atguigu.tingshu.payment.service;

import jakarta.servlet.http.HttpServletRequest;

import java.util.Map;

public interface WxPayService {

    Map<String, String> createJsapi(String paymentType, String orderNo);

    /**
     * 根据商户订单编号，支付微信支付支付状态
     * @param orderNo
     * @return
     */
    boolean queryPayStatus(String orderNo);

    Map<String, String> notifyTractionStatus(HttpServletRequest request);
}
